package com.flyduck.common.util;

import lombok.Data;

import java.io.Serializable;

/**
 * 树配置属性相关
 *
 */
@Data
public class TreeNodeConfig implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 默认属性配置对象
	 */
	public static TreeNodeConfig DEFAULT_CONFIG = new TreeNodeConfig();

	// 属性名配置字段
	private String idFieldName = "id";
	private String parentIdFieldName = "parentId";
	private String childrenFieldName = "children";
	private String sortFieldName = "sort";
	private Object rootFlag = null;
}
